secret = [
'wink',
'double blink',
'close your eyes',
'jump'
]

secret.reverse()

def commands(binary_str):
    shake = []
    for i in range(4):
        if binary_str[i+1] == '1':
            shake.append(secret[i])
    if binary_str.startswith('1'):
        shake.reverse()
    return shake